package cn.stylefeng.guns.modular.business.model.params;

import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 批次订单
 * </p>
 *
 * @author jwj
 * @since 2019-09-09
 */
@Data
public class BatchOrderParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;


    private Integer batchId;

    /**
     * 批次编号
     */
    private String batchNo;

    /**
     * 批次面值
     */
    private Integer batchQuota;

    /**
     * 提交数量
     */
    private Integer batchCount;

    /**
     * 提交的面值总和
     */
    private BigDecimal subAllQuota;

    /**
     * 提交订单数量
     */
    private Integer subOrderNum;

    /**
     * 处理中的订单，处理完成1个减1
     */
    private Integer subDoingNum;

    /**
     * 已成功订单
     */
    private Integer sucessOrderNum;

    /**
     * 已失败订单
     */
    private Integer failOrderNum;

    /**
     * 处理状态，0处理中，1已完成
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    private Integer deleteFlag;

    private Long cardTypeId;

    private String cardTypeName;

    private Long cardCataoryId;

    private String cardCataoryName;

    private Integer cardQuotaId;

    private String cardQuotaName;

    private String cardNoPwd;

    private String cardOwner;

    private Long cardOwnerId;

    private Float payRate;

    private String apiSign;

    @Override
    public String checkParam() {
        return null;
    }

}
